package com.xuecheng.learning.dao;

import com.xuecheng.framework.domain.learning.XcLearningCourse;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author Kidy
 * @date 2020/7/18 10:54
 */
public interface XcLearningCourseRepository extends JpaRepository<XcLearningCourse, String> {

    public XcLearningCourse findByUserIdAndCourseId(String userId, String courseId);
}
